import request from '@/utils/request';

/***************** 投放站点弃用记录 */

// 投放站点弃用详情
export function resourceDomainAbandonedDetail(data) {
  return request({
    url: '/platform/resource/domain/abandoned/detail',
    method: 'get',
    params: data
  });
}

/***************** fb广告账户维护历史 */

// 查询fb广告账户维护历史列表
export function resourceFbAdvActRecordList(data) {
  return request({
    url: '/platform/resource/fb/adv_act_record/list',
    method: 'post',
    data
  });
}

// 查询fb广告账户维护历史列表
export function resourceFbAdvActRecordExport(data) {
  return request({
    url: '/platform/resource/fb/adv_act_record/export',
    method: 'post',
    data
  });
}

/***************** fb广告账户弃用记录 */

// 查询fb广告账户弃用记录列表
export function fbAdvActAbandonRecordList(data) {
  return request({
    url: '/platform/resource/fb/adv_act_abandon_record/list',
    method: 'post',
    data
  });
}

// 导出fb广告账户弃用记录列表
export function fbAdvActAbandonRecordExport(data) {
  return request({
    url: '/platform/resource/fb/adv_act_abandon_record/export',
    method: 'post',
    data
  });
}

// 广告账户弃用详情
export function fbAdvActAbandonRecordDetail(data) {
  return request({
    url: '/platform/resource/fb/adv_act_abandon_record/detail',
    method: 'get',
    params: data
  });
}
